package com.yiwyn.springbean.service;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class DeptService {


    public Dept dept(String deptId) {
        log.info("deptId:{}", deptId);
        return new Dept(deptId);
    }

    @Data
    @AllArgsConstructor
    public static class Dept {
        private String deptId;
    }

}
